package cc.togetherit.jcrawler.down;

import cc.togetherit.jcrawler.dataPool.CrawlerPool;
import cc.togetherit.jcrawler.fetch.FetchRequest;

public class DownEngineFactory {
    
    public static final int JDK = 1;
    public static AbstractDownEngine getEngine(int engineType,CrawlerPool<String> downPool, CrawlerPool<FetchRequest> fetchPool) {
        if(engineType ==JDK){
            return new DefaultDownEngine(downPool, fetchPool);
        }
        return null;
    }

}
